package cn.lsnu.heritage.mapper;

import cn.lsnu.heritage.model.dto.Top9Dto;
import cn.lsnu.heritage.model.domain.IcHeritage;
import cn.lsnu.heritage.model.vo.IcHeritageVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author LindaMan
* @description 针对表【ic_heritage(非遗表)】的数据库操作Mapper
* @createDate 2023-01-16 21:43:57
* @Entity cn.lsnu.heritage.model.domain.IcHeritage
*/
@Mapper
public interface IcHeritageMapper extends BaseMapper<IcHeritage> {

    //模糊查询非遗集合
    List<IcHeritage> selectHeritageList(IcHeritageVO heritageVO);

    //模糊查询非遗集合条数
    int selectCountOfHeritageList(IcHeritageVO heritageVO);

    /*查询热门非遗集合*/
    List<IcHeritage> queryHotHeritageList();

    List <Top9Dto>select_top();
}




